﻿using System.Collections.Generic;
using TimeMachine.Engine.Metrics;

namespace TimeMachine.Engine.Storing
{
	public interface IMetricsStorage
	{
		IEnumerable<MetricValue> GetAll(string metricId);
		MetricValue GetValue(string metricId, int rev);
		MetricValue TryGetValue(string metricId, int rev);
		IEnumerable<string> KnownMetricIds();
		MetricValue FindPrevValue(string metricId, int rev);
	}
}